package com.wxxymakers.cklabrecruit.service;

import org.springframework.data.domain.Page;

/**
 * @AUTHOR soft
 * @DATE 2018/11/5 22:14
 * @DESCRIBE
 */
public interface IService<T> {
    T add(T entity);

    T delete(Object id);

    boolean change(T entity);

    T getOne(Object id);

    Page<T> getPage(int pageNo, int size, T entity);
}
